<?php /* Smarty version Smarty-3.0.7, created on 2012-08-29 14:20:40
         compiled from "E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot/template/templates\ancillary/account/list.tpl" */ ?>
<?php /*%%SmartyHeaderCode:16144503db4b8b01bb1-88140267%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4b0550afa5f2529208e7e7022066e1b8ebcc9a16' => 
    array (
      0 => 'E:\\Project\\Company\\dus\\shipinall.cn\\Subversion\\wwwroot/template/templates\\ancillary/account/list.tpl',
      1 => 1343100001,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16144503db4b8b01bb1-88140267',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include 'E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot\library\package\smarty\plugins\modifier.date_format.php';
if (!is_callable('smarty_modifier_truncate')) include 'E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot\library\package\smarty\plugins\modifier.truncate.php';
?><!DOCTYPE html>
<html lang="zh-CN" dir="ltr">
<head>
    <title>船配-<!--#include virtual='/data/seo/public.title.seo'--></title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link rel="stylesheet" href="/styles/public.css" />
    <link rel="stylesheet" href="/styles/sw.css" />
    <script type="text/javascript" src="/scripts/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/scripts/jquery.plugins/province_city.js"></script>    
    <script type="text/javascript" src="/scripts/apps/ancillary/account/list.js"></script>
</head>

<body>
    <div id="bg_all">
       <!--#include virtual="/template.inset/public.header.shtml"-->
        <div class="wrcp  ">
         <div style="padding-top:10px; +padding-top:0px" class=" clear" ></div>
        <?php $_template = new Smarty_Internal_Template("ancillary/public.menu.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
         <div style="padding-top:0px; +padding-top:10px" class=" clear" ></div>
            <div class="sw01_search">
                <div class="quick_s">
                    <select class="input105" id="Ancillary_SupplyList_Province" name="Ancillary_SupplyList_Province">
                    <option value="-1">选择省份</option>
                    </select>
                    <select id="Ancillary_SupplyList_City" name="Ancillary_SupplyList_City" class="input105 " style="padding-left:20px" >
                    <option value="-1">选择城市</option>
                    </select>
                    <select id="Ancillary_SupplyList_Model" name="Ancillary_SupplyList_Model" class="input105" >
                    <option value="-1">所有经营模式</option>
                    <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Ancillary_SupplyList_Model')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                        <option value="<?php echo $_smarty_tpl->getVariable('Row')->value['Value'];?>
"><?php echo $_smarty_tpl->getVariable('Row')->value['Name'];?>
</option>
                    <?php }} ?>                       
                    </select>
                    <input id="Ancillary_SupplyList_Name" name="Ancillary_SupplyList_Name" type="text" class="input">
                    <input id="Ancillary_SupplyList_Button" name="Ancillary_SupplyList_Button" type="submit" value="搜索"  class="ml8">
                </div>
                <?php if ($_smarty_tpl->getVariable('Params')->value['type']=="class"||$_smarty_tpl->getVariable('Params')->value['type']=="subclass"){?>
                <div class="category"  >
                    <div class="sc-item-name">
                        <div class="sc-t">类目：</div>
                    </div>
                    <div class="nal">
                        <ul>
                        	<?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Class')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                            <li><a href="/exec.php?action=ancillary_account_list&type=subclass&id=<?php echo $_smarty_tpl->getVariable('Row')->value['Identifying'];?>
" target="_self">
                            <?php echo $_smarty_tpl->getVariable('Row')->value['Name'];?>
</a><span>(<?php echo $_smarty_tpl->getVariable('Row')->value['AccountCount'];?>
)</span></li>
							<?php }} ?>
                        </ul>
                    </div>
                </div>
                <?php }?>
                </div>
            <div class="sw_pro">
                <div class="pro_sup ">
                    <h2>
                    	搜索结果：<span><a href="#">船配企业</a></span> 
                        
                        > <span><?php echo $_smarty_tpl->getVariable('ContentTitle')->value;?>
</span>
                        
                    </h2>
                </div>
            </div>
            <div class="sup_box"><div class="boxtit">
                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                        <tbody>
                            <tr>
                                <td width="281" align="center">企业名称</td>
                                <td width="91" align="center">产品数量</td>
                                <td width="95" align="center">经营模式</td>
                                <td width="96" align="center">注册年份/资金</td>
                                <td width="89" align="center">资质证书</td>
                                <td width="94" align="center">所在地</td>
                                <td width="95" align="center">会员级别</td>
                                <td width="117" align="center">联系</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Accounts')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                <table width="100%" border="0" style="margin:10px" class="blue_tab"  >
                    <tr>
                        <td width="262" rowspan="2">
                        	<span class="f14 fd">
                            <a href="http://ancillary.shipinall.cn/store/<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
/index.html" target="_blank">
                            	<?php echo $_smarty_tpl->getVariable('Row')->value['CompanyName'];?>
</a></span>
                                <span class="grey666">(<?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('Row')->value['Datetime'],"%y");?>
/<?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('Row')->value['Datetime'],"%m");?>
)
                            </span><br />
                            <span style="color:#666">
                                <?php $_smarty_tpl->tpl_vars["Intro"] = new Smarty_variable(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->getVariable('Row')->value['Intro']), null, null);?>
                                <?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Intro')->value,50,"..");?>

                            </span></td>
                        <td width="92" rowspan="2" align="center"><?php echo $_smarty_tpl->getVariable('Row')->value['SupplyCount'];?>
</td>
                        <td width="91" rowspan="2" align="center">
                        	<?php if ($_smarty_tpl->getVariable('Row')->value['Model']!=null){?>
								<?php echo $_smarty_tpl->getVariable('Row')->value['Model'];?>

							<?php }else{ ?>                                
                            	未填写
                            <?php }?>
                        </td>
                        <td width="87" rowspan="2" align="center">
                        	<?php if ($_smarty_tpl->getVariable('Row')->value['EstablishedTime']!=null&&$_smarty_tpl->getVariable('Row')->value['RegisterdCapital']!=null){?>
	                        	<?php echo $_smarty_tpl->getVariable('Row')->value['EstablishedTime'];?>
/<?php echo $_smarty_tpl->getVariable('Row')->value['RegisterdCapital'];?>

							<?php }else{ ?>                                
                            	<?php if ($_smarty_tpl->getVariable('Row')->value['EstablishedTime']!=null){?>
                                	<?php echo $_smarty_tpl->getVariable('Row')->value['EstablishedTime'];?>

								<?php }elseif($_smarty_tpl->getVariable('Row')->value['RegisterdCapital']!=null){?>                                    
                                	<?php echo $_smarty_tpl->getVariable('Row')->value['RegisterdCapital'];?>

                                <?php }else{ ?>   
                                	未填写
                                <?php }?>
                            <?php }?>
                        </td>
                        <td width="87" rowspan="2" align="center">
                        	<?php if ($_smarty_tpl->getVariable('Row')->value['Licence']!=null){?>
                                <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']["L"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['name'] = "L";
$_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['loop'] = is_array($_loop=$_smarty_tpl->getVariable('Row')->value['Licence']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["L"]['total']);
?>
                                    <?php echo $_smarty_tpl->getVariable('Row')->value['Licence'][$_smarty_tpl->getVariable('smarty')->value['section']['L']['index']]['Name'];?>
<br/>
                                <?php endfor; endif; ?>
                            <?php }else{ ?>
                            	未填写
                            <?php }?>
                        </td>
                        <td width="88" rowspan="2" align="center" name="ProvinceCity"><?php echo $_smarty_tpl->getVariable('Row')->value['Province'];?>
-<?php echo $_smarty_tpl->getVariable('Row')->value['City'];?>
</td>
                        <td width="95" rowspan="2" align="center">
                        	<?php if ($_smarty_tpl->getVariable('Row')->value['IsVip']=="TRUE"){?>
                            	VIP会员
                            <?php }else{ ?>
	                        	<img src="/images/ord_member.gif" alt="" />
                            <?php }?>
                        </td>
                        <td width="122" align="center">
                        	<a target="blank" href="http://wpa.qq.com/msgrd?V=1&Uin=<?php echo $_smarty_tpl->getVariable('Row')->value['QQ'];?>
&Site=<?php echo $_smarty_tpl->getVariable('Row')->value['URL'];?>
&Menu=yes">
                            	<img border="0" src="http://wpa.qq.com/pa?p=1:<?php echo $_smarty_tpl->getVariable('Row')->value['QQ'];?>
:6" alt="点击这里给我发消息" align="absmiddle"></a></td>
                    </tr>
                    <tr>
                        <td align="center">
                        	<img src="/images/spy_tel.gif" alt="" /><a href="/exec.php?action=store_contact&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" target="_blank">联系方式</a>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="8" align="center"  ><table width="94%" border="0" style="border-bottom:1px solid #ccc;margin-bottom:10px ">
                                <tr>
                                    <td style="border-top:1px dotted #ccc; padding-top:18px;  text-align:left" ><strong>供应产品：</strong>
                                    	<?php echo $_smarty_tpl->getVariable('Row')->value['Product'];?>

                                    </td>
                                </tr>
                            </table></td>
                    </tr>
                </table>
                <?php }} ?>
                <div class="spy_next" align="center">
                	<?php echo $_smarty_tpl->getVariable('PageMenu')->value;?>

                </div>
            </div>
       
  </div>
        <div class=" clear"></div>
        <!--#include virtual="/template.inset/public.footer.shtml"-->
    </div>    
</body>
</html>